package org.kumas.sgrpc.remoting.transport.dispatcher;

import org.kumas.sgrpc.common.URL;
import org.kumas.sgrpc.remoting.ChannelHandler;
import org.kumas.sgrpc.remoting.Dispatcher;

/**
 *
 * @author KumasZhang
 * @version 1.0
 * @since 2021-07-13 14:49
 */
public class AllDispatcher implements Dispatcher {
    public static final String NAME = "AllDispatcher";

    @Override
    public ChannelHandler dispatch(ChannelHandler handler, URL url) {
        return new AllChannelHandler(handler, url);
    }
}
